package com.fancyears.clientfunction.bean;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * @Author: fancyears·milos·malvis
 * @Description: 设置配置文件 resource.properties读取
 * @Date: Created in  2019/1/21 13:25
 * @Modified By:
 */
@Configuration
@PropertySource(value = "classpath:resource.properties")
@ConfigurationProperties(prefix = "com.fancyears")
@Data
public class ClientConfiguration {
    private boolean debug;
    private int level;
}
